# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1153.67.17 -> 1.1153.67.18
#	include/asm-ia64/signal.h	1.9     -> 1.10   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/09/02	shemminger@osdl.org	1.1153.88.2
# [NET]: Convert af_netlink.c over to seq_file.
# --------------------------------------------
# 03/09/02	shemminger@osdl.org	1.1153.88.3
# [NET]: ethertap fixes.
# 
# includes these changes from viro
# * switched ethertap to dynamic allocation
# * ethertap: embedded ->priv
# * ethertap: fixed resource leaks on failure exits
# and from me
# * get it out of the static device list completely.
# * add dependency on NETLINK_DEV
# * not really obsolete yet
# * configurable number of interfaces
# --------------------------------------------
# 03/09/02	greg@kroah.com	1.1153.1.259
# Merge kroah.com:/home/greg/linux/BK/bleed-2.5
# into kroah.com:/home/greg/linux/BK/gregkh-2.6
# --------------------------------------------
# 03/09/02	romieu@fr.zoreil.com	1.1153.88.4
# [NET]: Balance alloc_netdev() with free_netdev() in ethertap.
# --------------------------------------------
# 03/09/02	mochel@osdl.org	1.1170
# Merge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
# into osdl.org:/home/mochel/src/kernel/linux-2.5-core
# --------------------------------------------
# 03/09/02	sri@us.ibm.com	1.1153.68.4
# [SCTP] Convert sctp_param2sockaddr() and sockaddr2sctp_addr() to
# address family specific routines af->from_addr_parm() and
# af->to_addr_param() respectively. 
# --------------------------------------------
# 03/09/02	mochel@osdl.org	1.1171
# [kobject] Don't use kobject->k_name after it's been freed. 
# 
# Bah, stupid mistake. After you call ->release(), you cannot touch the object.
# --------------------------------------------
# 03/09/02	davem@nuts.ninka.net	1.1153.88.5
# [IPV4]: Do not BUG() on icmp_xmit_lock() contention, just drop.
# --------------------------------------------
# 03/09/02	davem@kernel.bkbits.net	1.1153.90.1
# Merge nuts.ninka.net:/disk1/davem/BK/net-2.5
# into kernel.bkbits.net:/home/davem/net-2.5
# --------------------------------------------
# 03/09/02	davej@redhat.com	1.1153.91.1
# [CPUFREQ] Move kernel/cpufreq.c to drivers/cpufreq/cpufreq.c
# Also remove $Id$ tag.
# No other code change.
# --------------------------------------------
# 03/09/02	davej@redhat.com	1.1153.91.2
# [CPUFREQ] fix up two typos.
# cpuferq hakcers cnat spel.
# --------------------------------------------
# 03/09/03	davej@redhat.com	1.1153.91.3
# [CPUFREQ] Move drivers/cpufreq/userspace.c to drivers/cpufreq/cpufreq_userspace.c
# Module names of 'userspace' aren't very informative.
# --------------------------------------------
# 03/09/03	davej@redhat.com	1.1153.91.4
# [CPUFREQ] Fix various oddities in the userspace governer.
# --------------------------------------------
# 03/09/03	davej@redhat.com	1.1153.91.5
# [CPUFREQ] Completely separate governors from policies.
# Governors are for CPUfreq drivers which have a ->target callback,
# Policies are for CPUfreq drivers which have a ->setpolicy callback.
# Also, the "hardwired" governors "powersave" and "performance" are removed.
# --------------------------------------------
# 03/09/02	baldrick@wanadoo.fr	1.1153.1.260
# [PATCH] USB: fix uhci "host controller process error"
# 
# By the way, let me explain what the problem was with uhci-hcd.  The usb
# hardware directly accesses your computers memory.  The bug is that it
# could still be accessing a bit of memory after uhci-hcd thought it had
# finished with it and freed up the memory.  This bug has always existed,
# and I guess led to occasional mysterious data corruption, when some
# other part of the kernel started using that bit of memory while the usb
# hardware was still playing with it.  You turned on the "slab debugging"
# option, right?  With this turned on, when uhci-hcd frees the memory it
# gets filled with some garbage values.  The usb hardware reads this
# garbage and barfs, giving a "process error".  In short, you can also
# get rid of the process error messages by turning off slab debugging,
# then the data corruption will be silent again!
# --------------------------------------------
# 03/09/02	greg@kroah.com	1.1153.1.261
# [PATCH] USB: fix data toggle problem for pl2303 driver.
# --------------------------------------------
# 03/09/03	davej@redhat.com	1.1153.91.6
# [CPUFREQ] Add the "performance" and "powersave" governors as modules.
# Also add a config option so that the default governor [which is loaded
# and enabled at boot] is started. Note that if you select "performance"
# here, the CPU will be set to the highest possible frequency even if
# the CPU was booted at a lower frequency. If you select "userspace",
# the frequency will stay the same.
# --------------------------------------------
# 03/09/02	torvalds@home.osdl.org	1.1153.92.1
# Merge bk://kernel.bkbits.net/davem/net-2.5
# into home.osdl.org:/home/torvalds/v2.5/linux
# --------------------------------------------
# 03/09/03	davej@redhat.com	1.1153.91.7
# [CPUFREQ][PPC] Small fixes necessary to separate the governors from policies.
# --------------------------------------------
# 03/09/03	davej@redhat.com	1.1153.91.8
# [CPUFREQ][SH] Small fixes necessary to separate the governors from policies.
# --------------------------------------------
# 03/09/03	davej@redhat.com	1.1153.91.9
# [CPUFREQ][SPARC64] Small fixes necessary to separate the governors from policies.
# --------------------------------------------
# 03/09/03	davej@redhat.com	1.1153.91.10
# [CPUFREQ][X86] Small fixes necessary to separate the governors from policies.
# --------------------------------------------
# 03/09/03	davej@redhat.com	1.1153.91.11
# [CPUFREQ][ARM] allow for easier Kconfig usage on ARM, and more features for SA11x0 users.
# --------------------------------------------
# 03/09/03	davej@redhat.com	1.1153.91.12
# [CPUFREQ] Fix incorrect entry in Kconfig
# --------------------------------------------
# 03/09/03	davej@redhat.com	1.1153.91.13
# [CPUFREQ] new cpufreq_driver->resume callback, needed (at least) for speedstep-smi.
# --------------------------------------------
# 03/09/03	davej@redhat.com	1.1153.91.14
# [CPUFREQ] fix speedstep-ich's .name to reflect its real name
# --------------------------------------------
# 03/09/03	davej@redhat.com	1.1153.91.15
# [CPUFREQ] Inform user about broken powernow-k7 PST tables.
# --------------------------------------------
# 03/09/02	cifs.adm@hostme.bitkeeper.com	1.1153.92.2
# Merge bk://linux.bkbits.net/linux-2.5
# into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs
# --------------------------------------------
# 03/09/03	rmk@flint.arm.linux.org.uk	1.1153.93.1
# [ARM] Remove more 26-bit ARM support.
# 
# Remove more of the redundant 26-bit ARM CPU support from the
# 32-bit ARM tree.
# --------------------------------------------
# 03/09/03	axboe@suse.de	1.1153.92.3
# [PATCH] amiflop error handling
# 
# amiflop didn't init the queue before assigning it to disk->queue. the
# error handling was also immensely screwed, I've cleaned that up too.
# --------------------------------------------
# 03/09/03	paulus@samba.org	1.1153.94.1
# PPC32: Add support for the PPC 440 family of embedded processors.
# 
# This has three main parts: (1) support for the 440GP and 440GX processors,
# (2) support for the "Ebony" and "Ocotea" reference boards for those processors,
# and (3) support for 64-bit physical addresses.  The 440GP and 440GX are "Book E"
# processors, and this introduces a CONFIG_BOOKE and some definitions that apply
# to all Book E processors.
# 
# Having 64-bit physical addresses means that PTEs are now 64 bits.  The PTE pages
# stay at 4kB, and the pgdir expands to 8kB.
# --------------------------------------------
# 03/09/03	paulus@samba.org	1.1153.94.2
# PPC32: Eliminate one use of struct device name field.
# --------------------------------------------
# 03/09/03	davej@redhat.com	1.1153.75.2
# [AGPGART] Fix up compile for i460-agp
# Missed conversion when killing off the APBASE defines.
# --------------------------------------------
# 03/09/03	mochel@osdl.org	1.1172
# Merge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
# into osdl.org:/home/mochel/src/kernel/linux-2.5-core
# --------------------------------------------
# 03/09/03	bunk@fs.tum.de	1.1153.92.4
# [wireless airo] fix build with gcc 2.95
# --------------------------------------------
# 03/09/03	sri@us.ibm.com	1.1153.68.5
# [SCTP] Fix a couple of issues with the call to sctp_ssnmap_new() in
# sctp_process_init().
# 
# The argument passed as inbound streams to sctp_ssnmap_new() is
# incorrect. Also allocating a ssnmap everytime a INIT is received is
# vulnerable to DoS attacks. So delay the creation of an ssnmap if we
# are processing a temporary association. 
# --------------------------------------------
# 03/09/03	torvalds@home.osdl.org	1.1153.95.1
# Merge bk://ppc.bkbits.net/for-linus-ppc
# into home.osdl.org:/home/torvalds/v2.5/linux
# --------------------------------------------
# 03/09/03	B.Zolnierkiewicz@elka.pw.edu.pl	1.1153.95.2
# [PATCH] ide: allow LBA48 on Promise 20265
# 
# It was disabled to workaround a bug in a driver.  The orginal bug was
# fixed but the workaround was not removed.
# --------------------------------------------
# 03/09/03	B.Zolnierkiewicz@elka.pw.edu.pl	1.1153.95.3
# [PATCH] ide: add very basic support for VIA 8237 SATA controller
# 
# From Daniela Engert <dani@ngrt.de>.
# --------------------------------------------
# 03/09/03	B.Zolnierkiewicz@elka.pw.edu.pl	1.1153.95.4
# [PATCH] ide: enable LED support for PowerMac
# 
# From Benjamin Herrenschmidt <benh@kernel.crashing.org>:
# 
# This adds the Kconfig option for the PowerMac IDE driver "LED" feature
# (using the laptop's front LED as a disk activity indicator).  It also
# adds a small bit to ide-probe.c that was missing from Jens patch when he
# added the activity function infrastructure.  He did add the hwif field,
# but not the code to actually enable it.
# --------------------------------------------
# 03/09/03	benh@kernel.crashing.org	1.1153.95.5
# [PATCH] PowerMac: Fix build of via-pmu driver with some .config's
# 
# This fixes the build of the via-pmu.c driver when CONFIG_PMAC_PBOOK is
# not set.
# --------------------------------------------
# 03/09/03	rmk@flint.arm.linux.org.uk	1.1153.93.2
# [ARM] Remove more reminants of 26-bit ARM support.
# 
# This removes include/asm-arm/proc-armv entirely, merging the
# contents into the relevant include files in include/asm-arm.
# We also update various files in arch/arm which reference
# definitions in the now non-existent directory.
# --------------------------------------------
# 03/09/03	mzyngier@freesurf.fr	1.1153.92.5
# [netdrvr de4x5] big modernization / cleanup
# 
# The enclosed patch tries to clean the tulip de4x5 driver, and update
# it to some of the 2.6 APIs :
# 
# - Use PCI and EISA probing APIs
# - Use generic DMA API
# - Fix DE425 init on the Jensen
# - Remove de4x5 from Space.c
# 
# It's been tested on x86 and Alpha, with a DE425 (21040, EISA), a DE435
# (21040, PCI) and a quad DLink (4*21143, PCI).
# 
# The major problem with this patch is that, because of the Space.c
# removal, interfaces get potentially renumbered. This has been
# discussed to death on lkml, without any obvious solution. IMHO, we'd
# better remove as many drivers as we can from Space.c before
# 2.6.0-final ships...
# --------------------------------------------
# 03/09/03	ernstp@mac.com	1.1153.92.6
# [netdrvr] list CONFIG_BMAC in drivers/net/Makefile.lib,
# as it uses the crc32 library.
# --------------------------------------------
# 03/09/03	bunk@fs.tum.de	1.1153.95.6
# [PATCH] COSA is no longer BROKEN
# 
# the compilation of cosa.c was already fixed in your BK tree, so we can
# now remove the dependency on BROKEN.
# --------------------------------------------
# 03/09/03	torvalds@home.osdl.org	1.1153.95.7
# Avoid a negative in config questions: we don't want to have users
# forced into double negatives.
# --------------------------------------------
# 03/09/03	javier@tudela.mad.ttd.net	1.1153.92.7
# [wireless airo] build fix when MIC support is disabled
# --------------------------------------------
# 03/09/03	sri@us.ibm.com	1.1153.68.6
# [SCTP] draft 07 API changes: Disable listening when backlog is 0.
# --------------------------------------------
# 03/09/03	torvalds@home.osdl.org	1.1153.92.8
# Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
# into home.osdl.org:/home/torvalds/v2.5/linux
# --------------------------------------------
# 03/09/03	greg@kroah.com	1.1153.1.262
# [PATCH] USB: fix up B0 support in the pl2303 driver.
# 
# Thanks to Gernot Fink <gernot.fink@netsurf.de> for pointing this out.
# --------------------------------------------
# 03/09/03	wim@iguana.be	1.1153.72.8
# [WATCHDOG] wafer5823wdt.c - patch4
# 
# remove module_param's for wdt_start and wdt_stop
# fix timeout check in init procedure
# --------------------------------------------
# 03/09/03	wim@iguana.be	1.1153.96.1
# Merge http://linux-watchdog.bkbits.net/linux-2.5-watchdog
# into iguana.be:/home/wim/BitKeeper/projects/linux-2.5-watchdog
# --------------------------------------------
# 03/09/03	wim@iguana.be	1.1153.92.9
# Merge http://linux-watchdog.bkbits.net/linux-2.5-watchdog
# into iguana.be:/home/wim/BitKeeper/projects/linux-2.5-watchdog
# --------------------------------------------
# 03/09/03	jejb@raven.il.steeleye.com	1.1153.97.1
# Merge hch/akpm changes
# --------------------------------------------
# 03/09/03	rddunlap@osdl.org	1.1153.97.2
# [PATCH] label needs statement following it
# 
# patch_name:	cpqfc_labelend.patch
# patch_version:	2003-08-27.18:19:34
# author:		Randy.Dunlap <rddunlap@osdl.org>
# description:	cpqfc: label needs a (empty) statement after it;
# product:	Linux
# product_versions: 260-test4
# maintainer:	support@compaq.com
# --------------------------------------------
# 03/09/03	hch@lst.de	1.1153.97.3
# [PATCH] fix the scsi_logging_level fix
# 
# We already had a prototype for it, it just was conditional on
# CONFIG_SCSI_LOGGING..
# --------------------------------------------
# 03/09/03	david_jeffery@adaptec.com	1.1153.97.4
# [PATCH] ips: remove arch limitations
# 
# This patch removes the X86 arch limitation in drivers/scsi/Kconfig,
# downgrades the #error check for x86/x86_64/ia64 to a #warning, and
# updates an old email address in the help.
# 
# It also fixes up a two places in the driver which have 8 spaces instead
# of a tab for indention.
# --------------------------------------------
# 03/09/03	willy@debian.org	1.1153.97.5
# [PATCH] ncr & sym1 patches
# 
# Some misc sym1 and ncr driver changes.
# 
# Changelog:
#  - Kconfig: Delete sym1 driver from Kconfig
#  - Kconfig: Delete SCSI_NCR53C8XX_IOMAPPED, SCSI_NCR53C8XX_PQS_PDS
#    and SCSI_NCR53C8XX_SYMBIOS_COMPAT options.
#  - ncr53c8xx: Delete SCSI_NCR53C8XX_SYMBIOS_COMPAT option
# --------------------------------------------
# 03/09/03	willy@debian.org	1.1153.98.1
# [PATCH] sym2 patchset
# 
# A big pile of sym2-related changes.  I have most of them split apart in
# CVS, so I can submit them as individual patches if anyone's interested.
# 
# Changelog:
#  - Use pci_set_mwi() instead of trying to do it ourselves.
#  - Rename PCI_ID_LSI53C1010 to 1010_33 and PCI_ID_LSI53C1010_2 to 1010_66.
#  - Turn sym_udelay and sym_mdelay into macros.
#  - Move the definition of sym53c8xx_lock near the functions that call it
#    and remove the macros that wrapper it.
#  - SYM_LINUX_DYNAMIC_DMA_MAPPING is always defined.  (Christoph Hellwig)
#  - Remove first_host (Christoph Hellwig)
#  - Support for hp C3000 (Grant Grundler)
#  - Switch to using pci_name()
#  - Remove the #if 0'd code from the pci_driver conversion.
#  - Remove the sym_chip typedef.
#  - Remove the pcifix option.
#  - Remove a redundant printk on driver initialisation.
#  - Use rmb() for __READ_BARRIER and wmb() for __WRITE_BARRIER
#  - Increment the version to 2.1.17a.
# --------------------------------------------
# 03/09/03	jejb@raven.il.steeleye.com	1.1153.97.6
# Merge willy/hch fixes
# --------------------------------------------
# 03/09/03	kkeil@suse.de	1.1153.92.10
# [PATCH] ISDN bugfixes part 1
# 
# Here is the first part of ISDN bugfixes for 2.6.
# It should make ISDN work again with most controllers.
# 
# More fixes follow after more testing.
# --------------------------------------------
# 03/09/03	sri@us.ibm.com	1.1153.68.7
# [SCTP] draft 07 API changes: By default, all the event notifications
# are turned off even for one-to-many style sockets.
# --------------------------------------------
# 03/09/03	torvalds@home.osdl.org	1.1153.92.11
# Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
# into home.osdl.org:/home/torvalds/v2.5/linux
# --------------------------------------------
# 03/09/04	davej@redhat.com	1.1153.91.16
# [CPUFREQ] Cache FSB in longhaul driver.
# --------------------------------------------
# 03/09/04	davej@redhat.com	1.1153.91.17
# [CPUFREQ] Fix use of fsb before initialisation in longhaul.
# --------------------------------------------
# 03/09/04	davej@redhat.com	1.1153.91.18
# [CPUFREQ] Fix longhaul's mult,fsb -> MHz conversions.
# this was wrong in several places by a factor of 100.
# Introduce a calc_speed helper to make this harder to get wrong.
# Additionally, clean up some printk's to print out useful values
# like MinMult=3.5x instead of MinMult(x10)=35.
# --------------------------------------------
# 03/09/04	davej@redhat.com	1.1153.91.19
# [CPUFREQ] Clean up clock_ratio calculation.
# --------------------------------------------
# 03/09/04	davej@redhat.com	1.1153.91.20
# [CPUFREQ] Inform user of status of Ezra-T/Nehemiah longhaul support.
# These are currently unsupported, and I get quite a lot of mails
# asking about it. Hopefully this will be a little more informative
# than 'unknown CPU'.
# --------------------------------------------
# 03/09/04	davej@redhat.com	1.1153.91.21
# [CPUFREQ] Remove the voltage scaling from longhaul driver.
# The 'match voltage to frequency' routine is complete crap and needs
# rewriting. (It also only works for a single stepping of C3)
# I'll redo it when I find the specs again.
# In the meantime, it doesn't work properly, so kill it.
# --------------------------------------------
# 03/09/03	jejb@raven.il.steeleye.com	1.1153.97.7
# Fix up scsi_alloc_request in sr.c to take a GFP_ flag
# --------------------------------------------
# 03/09/04	davej@redhat.com	1.1153.91.22
# [CPUFREQ] Move longhaul scale/ratio tables to longhaul header file
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.99.1
# [NET]: Fix 64-bit warnings in af_netlink.c
# --------------------------------------------
# 03/09/04	janitor@sternwelten.at	1.1153.99.2
# [NET]: Use list_for_each() where applicable.
# --------------------------------------------
# 03/09/04	felipewd@terra.com.br	1.1153.99.3
# [IPV6]: Remove unnecessary linux/version.h include.
# --------------------------------------------
# 03/09/04	jgarzik@pobox.com	1.1153.99.4
# [NET]: Fix ethtool_ops thinko in sungem.c
# --------------------------------------------
# 03/09/04	chas@nrl.navy.mil	1.1153.99.5
# [ATM]: In atm_getaddr() do not copy_to_user() with locks held.
# --------------------------------------------
# 03/09/04	mitch@sfgoth.com	1.1153.99.6
# [ATM]: Lanai driver updates.
# 
# o Big performance improvement.  The version of the driver in the kernel
#   still had a "mdelay(1)" after every register write.  This capped
#   performance at about 8Mbps and ate tons of CPU time.  (Luckily, most
#   users of this card are just terminating a DSL line where its not too
#   noticeable)
# 
#   However, after removing this delay the card started getting out of
#   sync with the driver under stress tests.  After a couple days of chasing
#   the bug I finally determine that the card's support for transmitting
#   partial PDUs just doesn't quite work as advertised (before we would send
#   a partial PDU to completely fill a VCC's transmit buffer and then send
#   the rest of the skb when more buffer space filled up).  The usefulness of
#   this is somewhat doubtful anyway and removing it cleaned up a lot of code.
# 
#   I also added some memory barriers to make sure operations to the card
#   happen in the correct order.
# 
#   Now for the first time ever we get near line-rate performance out of this
#   card (~19Mb/s TCP in netperf between two ~300Mhz machines)
# 
# o Locking changes (essentially the patch Chas sent me a couple weeks ago
#   with some minor tweaking)  I'm still not sure we're getting 100% of the
#   cases right but it's definitely FAR better than the old lock-less version.
# 
# o Cleanup the backlog draining code in lanai_shutdown_tx_vci()
# 
# o Remove outdated comment describing how to compile the module
# 
# o Got rid of the "service_novcc_[tr]x" stats - it's really the same error
#   as "service_[tr]x" - there's no reason to count them separately.
# 
# o Use the ATM_25_PCR constant instead of computing it for ourselves
# --------------------------------------------
# 03/09/04	shemminger@osdl.org	1.1153.99.7
# [NET]: DLCI driver cleanups for 2.6.x
#   
# - keep list of arrays for devices and use a lock
# - make sure header is contiguous before overlaying data structure
# - dynamically allocate dev->priv with alloc_netdev
# - get rid of MOD_INC/DEC
# - free devices on module unload
# - keep refcount on slave device's since holding a ptr
# --------------------------------------------
# 03/09/04	romieu@fr.zoreil.com	1.1153.99.8
# [NET]: Use free_netdev() even in error paths.
# --------------------------------------------
# 03/09/04	shemminger@osdl.org	1.1153.99.9
# [NET]: Add probe_old_netdevs() hook.
# 
# This set of patches is a mixture of Al's work to device initialization,
# and some of my own to complete it for all the ether, tr, sbni, and loopback
# devices.
# 
# The first patch adds the hook for converting old driver initialization
# code over to dynamic allocation.
# 
# This part extracted from Al viro's set of net driver changes for ethertap.
# --------------------------------------------
# 03/09/04	shemminger@osdl.org	1.1153.99.10
# [NET]: Convert SDLA to new initialization.
# 
# Based on Al viro's NE10-sdla
# * switched sdla to dynamic allocation
# * sdla: embedded ->priv
# * sdla: fixed resource leaks on failure exits
# Additionally fixes.
# * get rid of cli/sti
# * get rid of MOD/INC
# 
# Builds and probes, but don't have the hardware.
# Driver has never built on 2.6 before this.
# --------------------------------------------
# 03/09/04	shemminger@osdl.org	1.1153.99.11
# [NET]: Convert cops over to new initialization.
# 
# More from Al
# NE12-cops
# * switched cops to dynamic allocation
# * cops: embedded ->priv
# * cops: fixed ->irq clobbering on autoprobe
# Added
# * free_netdev
# --------------------------------------------
# 03/09/04	shemminger@osdl.org	1.1153.99.12
# [NET]: Convert ether probes to probe_old_netdevs().
# 
# Convert old ethernet device probing from dev_base linked list
# to the probe_old_netdevs.
# 
# Blame me for this one ;-)
# 
# Builds and runs, but don't have old ISA hardware to really test it.
# So please find some or review it carefully.
# --------------------------------------------
# 03/09/04	shemminger@osdl.org	1.1153.99.13
# [NET]: Convert tr probes to probe_old_netdevs().
# 
# Analogous to previous patch.  Instead of dev_base list of static
# entries, use a loop and dynamically allocate devices.
# 
# Tested only the 'no hardware' case.
# --------------------------------------------
# 03/09/04	shemminger@osdl.org	1.1153.99.14
# [NET]: Convert sbni initialization.
# 
# Convert sbni driver
# - new probing
# - single allocation using alloc_netdev for private data
# --------------------------------------------
# 03/09/04	shemminger@osdl.org	1.1153.99.15
# [NET]: Loopback device simplification.
# 
# Now that all the magic chain of static devices is gone from Space.c
# The initialization of the one remaining static device (ie the loopback driver)
# can be simplified.
# 
# One small change was to reduce possibility of failing the initialization if
# allocation of private data failed by just going without statistics.
# --------------------------------------------
# 03/09/04	shemminger@osdl.org	1.1153.99.16
# [NET]: Convert ltpc to new initialization.
# 
# Originally from Al Viro
# NE11-ltpc
# * switched ltpc to dynamic allocation
# * ltpc: embedded ->priv
# * ltpc: fixed bugs in DMA allocation
# * ltpc: fixed resource leaks on failure exits
# * ltpc: fixed part of timer bugs (still a-f**ing-plenty of those)
# * ltpc: fixed order of freeing bugs
# Added
# * switch to free_netdev
# --------------------------------------------
# 03/09/04	rddunlap@osdl.org	1.1153.99.17
# [NET]: remove duplicate #includes in net/
# --------------------------------------------
# 03/09/04	rddunlap@osdl.org	1.1153.99.18
# [CRYPTO]: remove duplicate #includes in crypto/
# --------------------------------------------
# 03/09/04	davem@nuts.ninka.net	1.1153.99.19
# [NET]: Kill NET_PROFILE, has not built for years.
# --------------------------------------------
# 03/09/04	yoshfuji@linux-ipv6.org	1.1153.99.20
# [IPV{4,6}]: Fixing a bug that reading /proc/net/{udp,udp6} may drop some data.
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.12
# [PATCH] misc fixes
# 
# - non_fatal.c comment fix (Zwane Mwaikambo <zwane@linuxpower.ca>)
# 
# - s/elevator/io scheduler/ in ll_rw_blk.c (Jens)
# 
# - update KJ mailing list address ("Randy.Dunlap" <rddunlap@osdl.org>)
# 
# - unused var in riscom8.c (Adrian Bunk <bunk@fs.tum.de>)
# 
# - add help texts to two OSS drivers (Adrian Bunk <bunk@fs.tum.de>)
# 
# - "PCMCIA SCSI adapter support" requires CONFIG_MODULES (Adrian Bunk
#   <bunk@fs.tum.de>)
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.13
# [PATCH] Fix odd code in bio_add_page
# 
# From: Neil Brown <neilb@cse.unsw.edu.au>
# 
# With the current code in bio_add_page, if fail_segments is ever set, it
# stays set, so bio_add_page will eventually fail having recounted the
# segmentation once.
# 
# I don't think this is intended.  This patch changes the code to allow
# success if the recounting the segments helps.
# 
# (Jens has acked this)
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.14
# [PATCH] convert /proc/stat to seq_file
# 
# From: "Randy.Dunlap" <rddunlap@osdl.org>
# 
# Anton needs this for ppc64.  Things overflow with a huge number of CPUs.
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.15
# [PATCH] Fix rtc symbol clash and HPET config problems
# 
# The new HPET RTC emulation code uses a function in rtc.c, get_rtc_time().
# 
# So that function was made non-static.  Problem is, the same function name is
# used elsewhere by some architectures, so there will be linkage problems.
# 
# And rtc_get_time() is used too, so I renamed it to rtc_get_rtc_time().
# 
# Also, the HPET code was setting CONFIG_HPET_EMULATE_RTC by hand in a header
# file.  Fix it to use the Kconfig system properly.
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.16
# [PATCH] add config option for qla1280 SCSI MMIO/ioport
# 
# From: Andrey Panin <pazke@donpac.ru>
# 
# Add a config option which allows ioport/mmio selection for QLA1280 SCSI
# driver.
# 
# With this patch applied QLA1280 can be used on Visws again.
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.17
# [PATCH] elevator insertion fixes
# 
# From: Nick Piggin <piggin@cyberone.com.au>
# 
# This fixes a bug in deadline and AS that causes insert_here to be ignored on
# blk_fs_requests. This has been causing problems with SCSI requeueing code.
# It makes elevator insertion more correct as advertised wrt insert_here and
# REQ_SOFTBARRIER.
# 
# It also fixes a buglet in the as_requeue code where the request wasn't being
# put into the front of the list (in rare cases).
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.18
# [PATCH] 8250_acpi taints kernel
# 
# From: Dmitry Torokhov <dtor_core@ameritech.net>
# 
# 8250_acpi module does not have MODULE_LICENSE specified.  8250_gsc does not
# have it either but as I can't compile it I did not touch it.
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.19
# [PATCH] proc_misc.c needs irq.h
# 
# fs/proc/proc_misc.c: In function `show_stat':
# fs/proc/proc_misc.c:423: `irq_desc' undeclared (first use in this function)
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.20
# [PATCH] more slab page checking
# 
# Add checks for kfree() of a page which was allocated with __alloc_pages(),
# and for free_pages() of a page which was allocated with kmalloc().
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.21
# [PATCH] might_sleep() improvements
# 
# From: Mitchell Blank Jr <mitch@sfgoth.com>
# 
# This patch makes the following improvements to might_sleep():
# 
#  o Add a "might_sleep_if()" macro for when we might sleep only if some
#    condition is met.  It's a bit tidier, and has an unlikely() in it.
# 
#  o Add might_sleep checks to skb_share_check() and skb_unshare() which
#    sometimes need to allocate memory.
# 
#  o Make all architectures call might_sleep() in both down() and
#    down_interruptible().  Before only ppc, ppc64, and i386 did this check.
#    (sh did the check on down() but not down_interruptible())
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.22
# [PATCH] MODULE_ALIAS() in block devices
# 
# From: Rusty Russell <rusty@rustcorp.com.au>
# 
# Previously, default aliases were hardwired into modutils.  Now they should
# be inside the modules, using MODULE_ALIAS() (they will be overridden by any
# user alias).
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.23
# [PATCH] MODULE_ALIAS() in char devices
# 
# From: Rusty Russell <rusty@rustcorp.com.au>
# 
# Previously, default aliases were hardwired into modutils.  Now they should
# be inside the modules, using MODULE_ALIAS() (they will be overridden by any
# user alias).
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.24
# [PATCH] Remove percpufication of in_flight counter in
# 
# From: Ravikiran G Thirumalai <kiran@in.ibm.com>
# 
# The routine disk_round_stats showed up considerably under oprofile for high
# disk io load (four processes doing dd to the same disk (different
# partitions) on a 4 way).
# 
# This is because the counter in_flight which is per-cpu right now gets read
# every time disk_round_stats gets called.  Per cpu counters like disk
# statistics improve write speed, but reads are slow (since all cpus' local
# counter values have to be read and summed up).  Considering the fact that
# in_flight counter is modified post disk_round_stats (which reads the
# in_flight counter) it is better not to per-cpu this counter.
# 
# Following patch does just that.  Below is the profile comparison before and
# after the change.  This was on a 4 way PIII Xeon, 1G ram, 2.6.0-test4-mm2. 
# 
# Before:
# c010aa60 2910109  92.2249     poll_idle
# c0275340 23208    0.73549     __copy_to_user_ll
# c02753b0 11191    0.354657    __copy_from_user_ll
# c0114aa0 7168     0.227163    mark_offset_tsc
# c011ad10 6767     0.214455    schedule
# c011a2b0 6741     0.213631    load_balance
# c0138890 6710     0.212648    __generic_file_aio_write_nolock
# c011d302 4683     0.14841     .text.lock.sched
# c02e4b50 4533     0.143656    ahc_linux_isr
# c029cec0 3582     0.113518    disk_round_stats
# c0119b40 3509     0.111205    try_to_wake_up
# c029d320 3306     0.104771    __make_request
# c01567d0 3300     0.104581    __block_write_full_page
# c0156c00 3299     0.104549    __block_prepare_write
# 
# After:
# c010aa60 2777940  92.1302     poll_idle
# c0275340 23479    0.778679    __copy_to_user_ll
# c02753b0 10943    0.362924    __copy_from_user_ll
# c0114aa0 7022     0.232884    mark_offset_tsc
# c0138890 6988     0.231757    __generic_file_aio_write_nolock
# c011ad10 6607     0.219121    schedule
# c011d302 5771     0.191395    .text.lock.sched
# c02e4a60 4458     0.147849    ahc_linux_isr
# c011a2b0 3921     0.13004     load_balance
# c01567d0 3569     0.118366    __block_write_full_page
# c029d2a0 3540     0.117404    __make_request
# ...
# c029ceb0 311      0.0103143   disk_round_stats
# c011d5b0 299      0.00991631  remove_wait_queue
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.25
# [PATCH] Enable SELinux via boot parameter
# 
# From: James Morris <jmorris@redhat.com>
# 
# This patch adds an 'selinux' boot parameter which must be used to actually
# enable SELinux.
# 
# It follows some internal discussion about deployment issues, where a vendor
# would want to ship a single kernel image with SELinux built-in, without
# requiring the user to use it.
# 
# Without specifying selinux=1 as a boot parameter, SELinux will not register
# with LSM and selinuxfs will not be registered as a filesystem.  This causes
# SELinux to be bypassed entirely from then on, and no performance overhead
# is imposed.  Other security modules may then also be loaded if needed.
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.26
# [PATCH] devfs pty fix
# 
# From: Andrew Lunn <andrew@lunn.ch>
# 
# Create the pty slaves on init so the behaviour is consistant with 2.4 and 2.6
# without devfs.
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.27
# [PATCH] i8042 free_irq() aliasing fix
# 
# The same address `i8042_request_irq_cookie' is used in three places for the
# i8042 request_irq() argument.  This means that if someone calls
# i8042_check_mux() or i8042_check_aux() while the IRQ is in use, the
# free_irq() call in there will free the wrong IRQ handler.
# 
# So give all three instances of request_irq() in i8042.c a distinct address by
# which to identify the IRQ instance.
# 
# (This is probably a non-bug, because the `check' functions are not called
# when the device is open, but it is better this way).
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.28
# [PATCH] Remove Documentation/kmod.txt
# 
# From: Rusty Russell <rusty@rustcorp.com.au>
# 
# Please delete Documentation/kmod.txt: it's entirely outdated and misleading.
# 
# I thought about rewriting it, but there's not much to add beyond what's in
# the CONFIG_KMOD's help text.
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.29
# [PATCH] drivers/scsi/imm.c build fix
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.30
# [PATCH] hermes.h fails with outw_p() in :?
# 
# From: Michael Pruznick <michael_pruznick@mvista.com>
# 
# build errors:
#   hermes.h: In function `hermes_set_irqmask':
#   hermes.h:337: parse error before "do"
#   hermes.h:337: parse error before ';' token
#   hermes.h: In function `hermes_write_words':
# 
# In mips, outw_p() is a #define do...while(0) which, in the case of ?:,
# results in a statement being used where an expression is required.
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.31
# [PATCH] cciss error handling cleanup
# 
# From: mike.miller@hp.com
# 
# Clean up the error handling in cciss_init_one().
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.32
# [PATCH] MODULE_ALIAS for tty ldisc
# 
# From: Rusty Russell <rusty@rustcorp.com.au>
# 
# Rather than hardcoded names in modprobe, modules can offer their own
# aliases (which can be overridden by the config file).
# 
# Here are the tty-ldisc ones.
# --------------------------------------------
# 03/09/04	laforge@netfilter.org	1.1153.99.21
# [NETFILTER]: NAT range calculation fix.
# 
# This patch fixes a logic bug in NAT range calculations, which also
# causes a large slowdown when ICMP floods go through NAT.
# 
# Author: Karlis Peisenieks
# --------------------------------------------
# 03/09/04	davem@nuts.ninka.net	1.1153.92.33
# [USB]: hiddev_exit() can no longer be __exit, called from init code now.
# --------------------------------------------
# 03/09/04	davem@nuts.ninka.net	1.1153.92.34
# [SPARC]: Add MODULE_ALIAS_LDISC() defines.
# --------------------------------------------
# 03/09/04	davem@kernel.bkbits.net	1.1153.100.1
# Merge nuts.ninka.net:/disk1/davem/BK/net-2.5
# into kernel.bkbits.net:/home/davem/net-2.5
# --------------------------------------------
# 03/09/04	levon@movementarian.org	1.1153.99.22
# [NET]: Kill net/README, obsolete and out-of-date.
# --------------------------------------------
# 03/09/04	mochel@osdl.org	1.1173
# Merge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
# into osdl.org:/home/mochel/src/kernel/linux-2.5-core
# --------------------------------------------
# 03/09/04	torvalds@home.osdl.org	1.1153.92.35
# Merge bk://kernel.bkbits.net/davem/net-2.5
# into home.osdl.org:/home/torvalds/v2.5/linux
# --------------------------------------------
# 03/09/04	rmk@arm.linux.org.uk	1.1153.92.36
# [PATCH] Don't #ifdef prototypes
# 
# It seems that changing CONFIG_BLK_DEV_INITRD causes the whole kernel to
# rebuild due to an inappropriate ifdef in linux/fs.h - we should not
# conditionalise prototypes.
# 
# In addition, real_root_dev is only used by two files (kernel/sysctl.c
# and init/do_mounts_initrd.c) so it makes even less sense that it was in
# linux/fs.h
# --------------------------------------------
# 03/09/04	jejb@raven.il.steeleye.com	1.1153.101.1
# Merge raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5
# into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.6
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.37
# [PATCH] fix /proc/stat handler for ARM, SPARC64, others..
# 
# Some references to irq_stat[] snuck into generic code.  It doesn't work on
# several architectures.
# 
# So revert that little improvement to the original version.
# --------------------------------------------
# 03/09/04	torvalds@home.osdl.org	1.1153.92.38
# Merge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
# into home.osdl.org:/home/torvalds/v2.5/linux
# --------------------------------------------
# 03/09/04	B.Zolnierkiewicz@elka.pw.edu.pl	1.1153.92.39
# [PATCH] ide: fix PM with ide-default driver
# 
# From Benjamin Herrenschmidt <benh@kernel.crashing.org>
# --------------------------------------------
# 03/09/04	B.Zolnierkiewicz@elka.pw.edu.pl	1.1153.92.40
# [PATCH] ide: remove supports_dma field from ide_driver_t
# 
# driver->supports_dma was used together with CONFIG_IDEDMA_ONLYDISK to limit
# DMA access to disk devices only.  However Alan introduced new scheme in 2.5.63
# and this field is not needed any longer because all ide drivers support DMA.
# --------------------------------------------
# 03/09/04	James.Bottomley@SteelEye.com	1.1153.92.41
# [PATCH] fix remap of shared read only mappings
# 
# When mmap MAP_SHARED is done on a file, it gets marked with VM_MAYSHARE
# and, if it's read/write, VM_SHARED.  However, if it is remapped with
# mremap(), the MAP_SHARED is only passed into the new mapping based on
# VM_SHARED.  This means that remapped read only MAP_SHARED mappings lose
# VM_MAYSHARE.  This is causing us a problem on parisc because we have to
# align all shared mappings carefully to mitigate cache aliasing problems.
# 
# The fix is to key passing the MAP_SHARED flag back into the remapped are
# off VM_MAYSHARE not VM_SHARED.
# --------------------------------------------
# 03/09/04	shemminger@osdl.org	1.1153.92.42
# [PATCH] ikconfig - cleanups
# 
# Cleanup ikconfig
# 	- use single_open for built_with file.
# 	- get rid of unneeded globals
# 	- use copy_to_user instead of char at a time
# 	- only need the read routine, proc defaults to correct behaviour
# 	  for the rest.
# --------------------------------------------
# 03/09/04	davem@nuts.ninka.net	1.1153.102.1
# Merge nuts.ninka.net:/disk1/davem/BK/network-2.5
# into nuts.ninka.net:/disk1/davem/BK/net-2.5
# --------------------------------------------
# 03/09/04	chas@cmf.nrl.navy.mil	1.1153.102.2
# [ATM]: Convert the /proc/net/atm/br2684 to seq_file interface (from shemminger@osdl.org)
# --------------------------------------------
# 03/09/04	shemminger@osdl.org	1.1153.102.3
# [NET]: Convert /proc/net/unix to seq_file.
# --------------------------------------------
# 03/09/04	mochel@osdl.org	1.1174
# Merge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
# into osdl.org:/home/mochel/src/kernel/linux-2.5-core
# --------------------------------------------
# 03/09/04	sri@us.ibm.com	1.1153.68.8
# [SCTP] Move a local variable declaration ahead of the function code.
# 
# Apparently the new gcc 3.2.2 allows local variable declarations within
# the code of a function if it is not used earlier. But older gcc's do
# not allow this. 
# --------------------------------------------
# 03/09/04	akpm@osdl.org	1.1153.92.43
# [PATCH] Fix /proc/stat off-by-one
# 
# I should have stayed in bed.
# --------------------------------------------
# 03/09/04	david-b@pacbell.net	1.1153.1.263
# [PATCH] USB: usb "gadgetfs" (1/2)
# 
# This is another "gadget" driver -- one that lets user mode
# code implement usb device functions, with all the classic
# advantages of such solutions.  There's an example driver
# at the linux-usb "gadget" web page, which uses pthreads
# and handles several control requests in user mode.
# 
# This capability is packaged in the form of a filesystem,
# conventionally mounted at /dev/gadget, with files that the
# user mode driver opens, configures, and then uses with
# normal read() and write() system calls.  Because this
# doesn't require use of ioctl(), such user mode drivers
# can be written in almost any language:  not just C, but
# also Java, Python, Perl, and others -- likely even BASH.
# 
# For now, such user mode gadget drivers are limited to a
# single configuration, although the interfaces in that
# configuration could support multiple altsettings when
# the hardware allows.
# 
# Please merge.  This first patch provides the driver,
# the next one adds kconfig and kbuild support.
# --------------------------------------------
# 03/09/04	david-b@pacbell.net	1.1153.1.264
# [PATCH] USB: usb "gadgetfs" (2/2)
# 
# This adds the kconfig/kbuild hooks needed to build
# the driver.
# --------------------------------------------
# 03/09/04	mochel@osdl.org	1.1175
# Merge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
# into osdl.org:/home/mochel/src/kernel/linux-2.5-core
# --------------------------------------------
# 03/09/04	rusty@rustcorp.com.au	1.1153.102.4
# [CRYPTO]: Use try_then_request_module().
# 
# try_then_request_module() does what crypto/autoload.c is doing, so
# replace it.  Fix try_then_request_module(), too (thanks James).
# --------------------------------------------
# 03/09/04	davem@nuts.ninka.net	1.1153.92.44
# Merge nuts.ninka.net:/disk1/davem/BK/network-2.5
# into nuts.ninka.net:/disk1/davem/BK/net-2.5
# --------------------------------------------
# 03/09/05	chas@cmf.nrl.navy.mil	1.1153.92.45
# [ATM]: pvc/svc missing .owner for proto_ops/family (from levon@movementarian.org)
# --------------------------------------------
# 03/09/05	chas@cmf.nrl.navy.mil	1.1153.92.46
# [ATM]: fix atm_dev module refcount bug (from levon@movementarian.org)
# --------------------------------------------
# 03/09/05	chas@cmf.nrl.navy.mil	1.1153.92.47
# [ATM]: reduce CONFIG_PROC_FS #ifdef clutter in .c code (from levon@movementarian.org)
# --------------------------------------------
# 03/09/05	shemminger@osdl.org	1.1153.92.48
# [NET]: COSA driver fixes.
# 
# * get rid of leftover sti
# * no longer need MOD_INC/DEC stuff
# * get rid of dead code related to MOD_INC/DEC
# * use module_init/module_exit to cleanly run init code
# --------------------------------------------
# 03/09/05	davem@nuts.ninka.net	1.1153.92.49
# [NET]: Do not ifdef declarations in Space.c
# --------------------------------------------
# 03/09/05	shemminger@osdl.org	1.1153.92.50
# [NET]: More SDLS fixes.
# 
# Since sdla.c now has locking instead of cli/sti, it shouldn't be
# completely busted on SMP.
# 
# Also, the frad interface registration needed to be done once
# (and check the result), and undone on module unload.
# --------------------------------------------
# 03/09/05	davem@nuts.ninka.net	1.1153.92.51
# Merge http://linux-lksctp.bkbits.net/lksctp-2.5
# into nuts.ninka.net:/disk1/davem/BK/net-2.5
# --------------------------------------------
# 03/09/05	moz@compsoc.man.ac.uk	1.1153.92.52
# [ATM]: Remove bogus UNUSED macro usage in pppoatm.c
# --------------------------------------------
# 03/09/05	rmk@flint.arm.linux.org.uk	1.1153.103.1
# [ARM] arch/arm/kernel/setup.c needs to include asm/cacheflush.h
# --------------------------------------------
# 03/09/05	rmk@flint.arm.linux.org.uk	1.1153.103.2
# [ARM] Fix wrong cache flush call for ARM1020 CPUs
# --------------------------------------------
# 03/09/05	davem@nuts.ninka.net	1.1153.92.53
# [NET]: Remove all the silly 'NET4.x' init messages.
# --------------------------------------------
# 03/09/05	davem@nuts.ninka.net	1.1153.92.54
# [NET]: Print a KERN_INFO msg when protocol families are {un,}registered.
# --------------------------------------------
# 03/09/05	davem@nuts.ninka.net	1.1153.92.55
# [NET]: Kill more verbose init msgs and unused RTNL_DEBUG define.
# --------------------------------------------
# 03/09/05	axboe@suse.de	1.1153.104.1
# [PATCH] fix IO hangs
# 
# The "insert_here" list pointer logic was broken, and unnecessary. 
# 
# Kill it and its associated logic off completely - just tell the IO
# scheduler what kind of insert it is.
# 
# This also makes the *_insert_request strategies much easier to follow,
# imo.
# --------------------------------------------
# 03/09/05	rmk@arm.linux.org.uk	1.1153.104.2
# [PATCH] Move MODULE_ALIAS_LDISC to tty_ldisc.h
# 
# MODULE_ALIAS_LDISC() is not in any way architecture-specific, so don't
# put it in architecture header files.
# 
# Here's a patch which moves it to a more sensible location.
# --------------------------------------------
# 03/09/05	B.Zolnierkiewicz@elka.pw.edu.pl	1.1153.104.3
# [PATCH] ide: fix ide_cs oops with TCQ
# 
# From Matias Alejo Garcia <kernel@matiu.com.ar>.
# --------------------------------------------
# 03/09/05	davej@redhat.com	1.1153.91.23
# [CPUFREQ] Print out FSB in longhaul debug info
# --------------------------------------------
# 03/09/05	torvalds@home.osdl.org	1.1153.92.56
# Merge bk://kernel.bkbits.net/davem/net-2.5
# into home.osdl.org:/home/torvalds/v2.5/linux
# --------------------------------------------
# 03/09/05	davej@redhat.com	1.1153.91.24
# [CPUFREQ] Print out CPU name in debug info.
# Add template for Nehemiah.
# --------------------------------------------
# 03/09/05	davej@redhat.com	1.1153.75.3
# [AGPGART] Remove unneeded string from AMD64 GART driver.
# --------------------------------------------
# 03/09/05	jamie@shareable.org	1.1153.92.57
# [PATCH] Unpinned futexes v2: indexing changes
# 
# This changes the way futexes are indexed, so that they don't pin pages. 
# It also fixes some bugs with private mappings and COW pages.
# 
# Currently, all futexes look up the page at the userspace address and pin
# it, using the pair (page,offset) as an index into a table of waiting
# futexes.  Any page with a futex waiting on it remains pinned in RAM,
# which is a problem when many futexes are used, especially with FUTEX_FD.
# 
# Another problem is that the page is not always the correct one, if it
# can be changed later by a COW (copy on write) operation.  This can
# happen when waiting on a futex without writing to it after fork(),
# exec() or mmap(), if the page is then written to before attempting to
# wake a futex at the same adress. 
# 
# There are two symptoms of the COW problem:
#  - The wrong process can receive wakeups
#  - A process can fail to receive required wakeups. 
# 
# This patch fixes both by changing the indexing so that VM_SHARED
# mappings use the triple (inode,offset,index), and private mappings use
# the pair (mm,virtual_address).
# 
# The former correctly handles all shared mappings, including tmpfs and
# therefore all kinds of shared memory (IPC shm, /dev/shm and
# MAP_ANON|MAP_SHARED).  This works because every mapping which is
# VM_SHARED has an associated non-zero vma->vm_file, and hence inode.
# (This is ensured in do_mmap_pgoff, where it calls shmem_zero_setup). 
# 
# The latter handles all private mappings, both files and anonymous.  It
# isn't affected by COW, because it doesn't care about the actual pages,
# just the virtual address.
# 
# The patch has a few bonuses:
# 
#         1. It removes the vcache implementation, as only futexes were
#            using it, and they don't any more.
# 
#         2. Removing the vcache should make COW page faults a bit faster.
# 
#         3. Futex operations no longer take the page table lock, walk
#            the page table, fault in pages that aren't mapped in the
#            page table, or do a vcache hash lookup - they are mostly a
#            simple offset calculation with one hash for the futex
#            table.  So they should be noticably faster.
# 
# Special thanks to Hugh Dickins, Andrew Morton and Rusty Russell for
# insightful feedback.  All suggestions are included.
# --------------------------------------------
# 03/09/05	rmk@flint.arm.linux.org.uk	1.1153.103.3
# [ARM] Newer binutils want -mcpu=xscale not -mxscale
# --------------------------------------------
# 03/09/05	arjanv@redhat.com	1.1153.92.58
# [PATCH] incomplete asm constraints in arch/i386/pci/pcbios.c
# 
# This fixes a "miscompile" HP reported against gcc 3.3 with
# -march-pentium4.  It turned out to be a non-complete asm contraint.  the
# existing constraint on "opt" was on the address of "opt", which allowed
# gcc to reorder the setting of the fields inside opt to beyond the asm
# that uses it, which is less than useful at best.
# --------------------------------------------
# 03/09/05	rmk@flint.arm.linux.org.uk	1.1153.103.4
# [ARM] Restore preempt count before reporting unbalanced preempt count
# 
# On ARM, we oops when we detect that an interrupt handler has unbalanced
# the preempt count.  We should restore the preempt count when we started
# to handle the interrupt and then cause the oops.
# --------------------------------------------
# 03/09/05	rmk@flint.arm.linux.org.uk	1.1153.103.5
# [ARM] Don't read the CPU control reg back - it may be write only.
# 
# Some ARM CPUs don't allow CP15 CR1 control register to be read.
# Therefore, to ensure that the value hits the control register on
# Xscale, read back the CP15 CR0 ID register instead.
# --------------------------------------------
# 03/09/05	rmk@flint.arm.linux.org.uk	1.1153.103.6
# [ARM] Fix ARM suspend-to-RAM.
# 
# - Suspend and resume system devices.
# - If device suspend fails, don't suspend.
# --------------------------------------------
# 03/09/05	paulkf@microgate.com	1.1153.92.59
# [PATCH] 2.6.0-test4 synclink.c
# 
# * add RCC underrun handling
# * fix stats output typo
# * replace previously removed NULL context check
#   (causes oops when opening non existent device)
# --------------------------------------------
# 03/09/05	paulkf@microgate.com	1.1153.92.60
# [PATCH] 2.6.0-test4 synclinkmp.c
# 
# * replace previously removed NULL context check
#   (causes oops when opening non existent device)
# --------------------------------------------
# 03/09/05	paulkf@microgate.com	1.1153.92.61
# [PATCH] 2.6.0-test4 synclink_cs.c
# 
# * replace previously removed NULL context check
#   (causes oops when opening non existent device)
# --------------------------------------------
# 03/09/05	rmk@flint.arm.linux.org.uk	1.1153.103.7
# [ARM] Fix PXA and SA1100 suspend/resume
# 
# - Don't write the current time back to the RTC on suspend - we may
#   jump over a programmed wakeup alarm.
# - Restore SA1100 GPIO output state
# --------------------------------------------
# 03/09/05	rmk@flint.arm.linux.org.uk	1.1153.103.8
# [ARM] Don't sleep in cpufreq code if IRQs are disabled (during resume.)
# --------------------------------------------
# 03/09/05	rmk@flint.arm.linux.org.uk	1.1153.103.9
# [ARM] Kill snprintf formatting warning.
# --------------------------------------------
# 03/09/05	torvalds@home.osdl.org	1.1153.92.62
# Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
# into home.osdl.org:/home/torvalds/v2.5/linux
# --------------------------------------------
# 03/09/05	greg@kroah.com	1.1153.1.265
# Merge kroah.com:/home/linux/BK/bleed-2.5
# into kroah.com:/home/linux/BK/gregkh-2.6
# --------------------------------------------
# 03/09/05	viro@www.linux.org.uk	1.1153.92.63
# [PATCH] large dev_t - second series (1/15)
# 
# 	misc trivial cleanups
# --------------------------------------------
# 03/09/05	viro@www.linux.org.uk	1.1153.92.64
# [PATCH] large dev_t - second series (2/15)
# 
# 	floppy98 ->probe() forgot to set *part to 0; fixed.
# --------------------------------------------
# 03/09/05	viro@www.linux.org.uk	1.1153.92.65
# [PATCH] large dev_t - second series (3/15)
# 
# 	paride/pt.c cleanups - passing pointer to pt_unit instead of index
# in array; same as had been done for pd/pcd/pf.
# --------------------------------------------
# 03/09/05	viro@www.linux.org.uk	1.1153.92.66
# [PATCH] large dev_t - second series (4/15)
# 
# 	cciss cleanup - instead of playing with device numbers, we add
# helper functions that get host and drive structures by gendisk and use
# them in open/ioctl/release, same as had been done for cpqarray.
# --------------------------------------------
# 03/09/05	viro@www.linux.org.uk	1.1153.92.67
# [PATCH] large dev_t - second series (5/15)
# 
# 	cdevname() killed, there was only one remaining user
# (tty_paranoia_check()) and in that case cdevname() was worse
# than plain major:minor (basically, it's "you've got corrupted
# inode that was supposed to belong to tty device; here's what
# I'd found in ->i_rdev")
# --------------------------------------------
# 03/09/05	viro@www.linux.org.uk	1.1153.92.68
# [PATCH] large dev_t - second series (6/15)
# 
# 	tty redirect handling sanitized.  Such ttys (/dev/tty and
# /dev/console) get a different file_operations; its ->write() handles
# redirects; checks for file->f_op == &tty_fops updated, checks for
# major:minor being that of a redirector replaced with check for
# ->f_op->write value.  Piece of code in tty_io.c that had been #if 0
# since 0.99<something> had been finally put out of its misery. kdev_val()
# is gone.
# --------------------------------------------
# 03/09/05	viro@www.linux.org.uk	1.1153.92.69
# [PATCH] large dev_t - second series (7/15)
# 
# 	the last kdev_t object is gone; ->i_rdev switched to dev_t.
# --------------------------------------------
# 03/09/05	viro@www.linux.org.uk	1.1153.92.70
# [PATCH] large dev_t - second series (8/15)
# 
# 	kdev_t, to_kdev_t(), etc. are gone - there is no more objects
# of that type and no remaining callers of these functions.
# --------------------------------------------
# 03/09/05	viro@www.linux.org.uk	1.1153.92.71
# [PATCH] large dev_t - second series (9/15)
# 
# beginning of fs side work:
# 	* new helpers - old_valid_dev(), old_encode_dev() and old_decode_dev()
# 	* old_valid_dev() checks if dev_t value is OK for old filesystems
# (i.e. both major and minor are below 256).
# 	* old_valid_dev() calls are added in ->mknod() instances that care
# about dev_t values (disk-backed and network ones).
# 	* old_encode_dev() and old_decode_dev() convert dev_t -> u16
# and u16 -> dev_t resp; currently these are no-ops, places that use current
# formar (minor in bits 0--7, major in bits 8--15) will switch to these before
# we widen dev_t.
# --------------------------------------------
# 03/09/05	viro@www.linux.org.uk	1.1153.92.72
# [PATCH] large dev_t - second series (10/15)
# 
# 	Fix for endianness bug in UDF: it writes major and minor as 32bit
# host-endian and reads them as 32bit little-endian; obviously a bad idea
# on big-endian boxen ;-)  Needed both for 2.4 and 2.6.
# --------------------------------------------
# 03/09/05	viro@www.linux.org.uk	1.1153.92.73
# [PATCH] large dev_t - second series (11/15)
# 
# 	Fix for JFS handling of device nodes; it has 32bit on-disk device
# numbers, shoves them into 16bit (->i_rdev) when inode is read and writes
# them back truncated when inode is written to disk.  For now (and 2.4 will
# have to do the same permanently) we store the original value in private
# part of inode and use it instead of ->i_rdev in ->write_inode(); mknod()
# sets it at the same time as ->i_rdev.  It will become unnecessary when
# dev_t becomes wider than 16 bits, but for now we need it.
# --------------------------------------------
# 03/09/05	viro@www.linux.org.uk	1.1153.92.74
# [PATCH] large dev_t - second series (12/15)
# 
# 	Similar fix for UFS; touching device node (and they have 32bit
# dev_t) ends up killing upper 16 bits, which makes for very unhappy
# *BSD, since that turns /dev/ad0s1 into alias of /dev/ad0.  Again, for
# now we store on-disk value in private part of inode and use it instead
# of ->i_rdev in ->write_inode().
# --------------------------------------------
# 03/09/05	viro@www.linux.org.uk	1.1153.92.75
# [PATCH] large dev_t - second series (13/15)
# 
# 	HPFS code that uses EAs for storing i_rdev/i_mode/i_uid/i_gid
# sanitized.
# --------------------------------------------
# 03/09/05	viro@www.linux.org.uk	1.1153.92.76
# [PATCH] large dev_t - second series (14/15)
# 
# 	nfs_fattr->rdev switched to dev_t; code that unpacks on-the-wire
# attributes does explicit conversion now.
# --------------------------------------------
# 03/09/05	viro@www.linux.org.uk	1.1153.92.77
# [PATCH] large dev_t - second series (15/15)
# 
# 	old_decode_dev()/old_encode_dev() added where needed in other
# filesystems.  Parts in different filesystems are independent, but IMO
# it's not worse splitting into a dozen of half-kilobyte patches.
# --------------------------------------------
# 03/09/05	jamie@shareable.org	1.1153.92.78
# [PATCH] Common PROT_xxx -> VM_xxx mapping
# 
# This moves the mapping of PROT_* bits to VM_* bits from mmap.c to the
# common header file <linux/mman.h>.  The mapping is needed for mprotect
# too.
# --------------------------------------------
# 03/09/05	torvalds@home.osdl.org	1.1153.92.79
# Fix mprotect() to do proper PROT_xxx -> VM_xxx translation.
# 
# This also fixes the bug with MAP_SEM being potentially
# interpreted as VM_SHARED.
# --------------------------------------------
# 03/09/05	torvalds@home.osdl.org	1.1153.92.80
# Merge bk://linux-dj.bkbits.net/cpufreq
# into home.osdl.org:/home/torvalds/v2.5/linux
# --------------------------------------------
# 03/09/05	torvalds@home.osdl.org	1.1153.92.81
# Merge bk://linux-dj.bkbits.net/agpgart
# into home.osdl.org:/home/torvalds/v2.5/linux
# --------------------------------------------
# 03/09/05	shaggy@austin.ibm.com	1.1153.92.82
# [PATCH] New version of jfsutils needed
# 
# A recent change to the 2.6.0 kernel has changed the behavior of opening a
# block device with the O_EXCL flag.  This can cause fsck.jfs to fail to
# replay the journal when a file system is mounted read-only.
# 
# The JFS utilities have been fixed, and it is recommended that any users of
# JFS update the utilities to version 1.1.3.
# --------------------------------------------
# 03/09/05	davej@redhat.com	1.1153.75.4
# [AGPGART] Fix up missing brackets on defines.
# --------------------------------------------
# 03/09/05	torvalds@home.osdl.org	1.1153.92.83
# Merge bk://linux-dj.bkbits.net/agpgart
# into home.osdl.org:/home/torvalds/v2.5/linux
# --------------------------------------------
# 03/09/05	mochel@kernel.bkbits.net	1.1153.92.84
# Merge kernel.bkbits.net:/home/repos/linux-2.5
# into kernel.bkbits.net:/home/mochel/linux-2.5-core
# --------------------------------------------
# 03/09/05	mochel@osdl.org	1.1176
# Merge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
# into osdl.org:/home/mochel/src/kernel/linux-2.5-core
# --------------------------------------------
# 03/09/05	mochel@osdl.org	1.1177
# [driver model] Add exports for sys devices.
# 
# From Dominik Brodowski: 
# 
# A few missing exports -- even though the cpu_sysdev_class isn't strictly
# needed now, I need it for a few ACPI-related patches I'll send out in a
# minute.
# --------------------------------------------
# 03/09/05	mochel@osdl.org	1.1178
# [sysfs/kobject] Update documentation.
# 
# From Randy Dunlap.
# --------------------------------------------
# 03/09/05	mochel@osdl.org	1.1179
# Merge bk://kernel.bkbits.net//home/mochel/linux-2.5-core
# into osdl.org:/home/mochel/src/kernel/linux-2.5-core
# --------------------------------------------
# 03/09/05	david-b@pacbell.net	1.1153.1.266
# [PATCH] USB: usb_epnum_to_ep_desc only look
# 
# Original patch from oliverthered@oliverthered.com ... this
# updates it:
# 
#   - usb_epnum_to_ep_desc() only looks at the active altsetting
#   - docs clarified
# 
# It's possible some user mode drivers will have relied on the
# previous buggy behavior, since usbfs uses this call.  The fix
# will be for them to set the appropriate altsetting.
# --------------------------------------------
# 03/09/05	joris@struyve.be	1.1153.1.267
# [PATCH] unusual_devs.h entry
# 
# Hereby you may find my patch for a Medion digital camera along with the
# /proc/bus/usb/devices output.
# --------------------------------------------
# 03/09/05	davidm@tiger.hpl.hp.com	1.1153.67.18
# ia64: Document the typo that made it into the definition of MINSTKSZ
# 	(last two numbers got transposed).  Thanks to Arun Sharma for
# 	finding this.  New glibc's will have the value corrected, but
# 	we leave the kernel at the old (bogus) value to retain backwards-
# 	compatibility (and while a strange value, the old value works just
# 	fine).
# --------------------------------------------
#
diff -Nru a/include/asm-ia64/signal.h b/include/asm-ia64/signal.h
--- a/include/asm-ia64/signal.h	Tue Sep  9 01:05:03 2003
+++ b/include/asm-ia64/signal.h	Tue Sep  9 01:05:03 2003
@@ -2,7 +2,7 @@
 #define _ASM_IA64_SIGNAL_H
 
 /*
- * Copyright (C) 1998-2001 Hewlett-Packard Co
+ * Copyright (C) 1998-2001, 2003 Hewlett-Packard Co
  *	David Mosberger-Tang <davidm@hpl.hp.com>
  *
  * Unfortunately, this file is being included by bits/signal.h in
@@ -96,7 +96,16 @@
  * ar.rsc.loadrs is 14 bits, we can assume that they'll never take up
  * more than 16KB of space.
  */
-#define MINSIGSTKSZ	131027	/* min. stack size for sigaltstack() */
+#if 1
+  /*
+   * This is a stupid typo: the value was _meant_ to be 131072 (0x20000), but I typed it
+   * in wrong. ;-(  To preserve backwards compatibility, we leave the kernel at the
+   * incorrect value and fix libc only.
+   */
+# define MINSIGSTKSZ	131027	/* min. stack size for sigaltstack() */
+#else
+# define MINSIGSTKSZ	131072	/* min. stack size for sigaltstack() */
+#endif
 #define SIGSTKSZ	262144	/* default stack size for sigaltstack() */
 
 #ifdef __KERNEL__